#import <Foundation/Foundation.h>
#import "SEGPaymethodlistv2Model.h"

@interface SEGPaymethodlistv2Manager : NSObject
#pragma mark - SINGLE----BEGIN----
+(instancetype)sharedManager;//创建单例
+(void)destroyResource;//销毁单例
#pragma mark - SINGLE----END----

#pragma mark - HTTP----BEGIN----

/**
 到家服务支付列表
 
 @author Sam
 */
-(void)requestHomeservicePaymethodlistv2Finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 寻常汇获取支付列表
 月卡缴费获取支付列表
 费用缴纳账单获取支付列表
 
 @author Sam
 @param requestId requestId
 */
-(void)requestRestPaymethodlistv2WithRequestId:(NSString*)requestId finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 自助洗车获取支付列表
 
 @author Sam
 */
-(void)requestFlashboxPaymethodlistv2Finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 物业服务获取支付列表
 
 @author Sam
 @param communityId communityId
 */
-(void)requestRestPaymethodlistv2WithCommunityId:(NSString*)communityId finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 侨城汇获取支付列表
 
 @author Sam
 */
-(void)requestThirdOrderFinished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 寻常汇获取支付列表requestId
 
 @author Sam
 @param site site
 */
-(void)requestIdForRestWithSite:(NSString*)site finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 月卡缴费获取支付列表requestId
 
 @author Sam
 */
-(void)requestIdForParkingPayFinished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 费用缴纳账单获取支付列表requestId
 
 @author Sam
 */
-(void)requestIdForBillPaymentPayFinished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;
#pragma mark - HTTP----END----

#pragma mark - SOURCE----BEGIN----
@property (nonatomic, strong) SEGPaymethodlistv2Model *PayMethodListV2;
@property (nonatomic, copy) NSString *requestId;
#pragma mark - SOURCE----END----
@end
